<%@ page language="java" pageEncoding="UTF-8" buffer="16kb"%>
<%@ include file="/base.jsp"%>
<%@ include file="/module/taglibs.jsp"%>
<%@ include file="/module/nocache.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>校本培训管理详情</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<%@ include file="/module/js.jsp"%>
<%@ include file="/module/orderField.jsp"%>
	<script type="text/javascript" src="${basePath}/js/jquery.Huploadify.js"></script>
	<link href="${basePath}/css/Huploadify.css" rel="stylesheet">
	<style type="text/css">
	
	     .grid{font:12px arial,helvetica,sans-serif;border:1px solid #cccccc}
        .grid td{font:100% arial,helvetica,sans-serif;height:24px;padding:5px}
        .grid{width:100%;border-collapse:collapse}.grid th{background:#eeeeee;height:27px;line-height:27px;border:1px solid #cccccc;padding-left:5px}
        .grid td{border:1px solid #cccccc;padding-left:5px;text-align: center;}

        .list * {
            margin: 0;
            padding: 0;
            outline: none;
            list-style: none;
            box-sizing: border-box;
        }

        .list li {

            overflow: hidden;
            padding: 20px;
            border-bottom: 1px solid #efefef;
        }

        .list .list_left {
            float: left;
        }

        .list .list_right {
            float: right;
        }

        .list .list_content {
            padding-left: 200px;
            padding-right: 200px;
        }

        .list_pagination {
            padding: 20px;
            text-align: right;
            font-size: 0;
        }

        .list_pagination span {
            cursor: pointer;
            display: inline-block;
            vertical-align: middle;
            font-size: 14px;
            border: 1px solid #dfdfdf;
            min-width: 30px;
            padding: 0 10px;
            color: #333;
            height: 30px;
            font-weight: bold;
            line-height: 30px;
            text-align: center;
            background-color: #F5F4F4;
            margin-right: 10px;
        }

        .list_pagination span.is-selected {
            background-color: #34383A;
            color: #fff;
        }
        .list_pagination span.is-disabled {
            /*background-color: #34383A;*/
            color: #ccc;
            pointer-events: none;
            cursor: not-allowed;
        }
        .list_pagination span.is-ellipsis{
            border: 0;
            background-color: transparent;
        }
	</style>
</head>
<body>
	<form action="#" name="Form" id="Form" method="post">
		<table cellpadding="0" cellspacing="0" border="0" class="table-border" width="95%">
			<tr>
				<td class="table-header" colspan="4">校本培训管理</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width:15%;"><font
						style="color: red;">*</font>项目名称：</td>
				<td class="table-contentTD" style="width:35%;">
					${entity. xmmc}</td>
					
					<td class="table-titleTD"><font
						style="color: red;">*</font>年度：</td>
				<td class="table-contentTD">
					${entity.pXNDYear }
					</td>
			</tr>
			<tr>
				<td class="table-titleTD"><font
						style="color: red;">*</font>学分：</td>
				<td class="table-contentTD">
					${entity.xf }</td>
				<td class="table-titleTD"><font
						style="color: red;">*</font>年度学分小计：</td>
				<td class="table-contentTD">
					${entity.ndxfXj }
				</td>
			</tr>
			<tr>
				<td class="table-titleTD">创建人：</td>
				<td class="table-contentTD">
					${entity.creatorName}
				</td>
				<td class="table-titleTD">创建时间：</td>
				<td class="table-contentTD">
					${entity.createTime}
				</td>
			</tr>
			<tr>
				<td class="table-titleTD">附件：</td>
				<td class="table-contentTD" colspan="3">
					<table>
						<tr>
							<td colspan="2">
								<div id="uploadadd"></div>
							</td>
						</tr>
						<c:if test="${fn:length(dataList) > 0}">
							<c:forEach items="${dataList}" var="datalist" varStatus="index">
								<tr>
									<td>
										[文件] ${datalist.fileName}
									</td>
									<td>
										<a href="${basePath}/DownLoadFileServlet?filename=${datalist.fileName}&filepath=${datalist.filePath}">下载</a>
									</td>
								</tr>
							</c:forEach>
						</c:if>
					</table>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD"><font style="color: red;">*</font>内容：</td>
				<td class="table-contentTD" colspan="3">
					${entity.remark }
				</td>
			</tr>
			
			<!--   增加左右选中人员效果 -->
                <tr>
                    <td colspan="4">
                        <table class="grid" id="tb_dy_qingjia_id">
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>姓名</th>
                                <th>工号</th>
                                <th>部门</th>
                                <th>教研组</th>
                            </tr>
                            </thead>
                            <tbody id="dy_shouxun_list_info_id">
									<c:forEach items="${plist}" var="datalist" varStatus="index">
								<tr>
									<td>${index.index+1 }</td>
									<td>
										 ${datalist.empXm }
									</td>
									<td>
										 ${datalist.zgh }
									</td>
									<td>
										 ${datalist.ksMc }
									</td>
									<td>
										 ${datalist.jyzMc }
									</td>
									
								</tr>
							</c:forEach>
                            </tbody>
                        </table>
                    </td>
                </tr>
			
		</table>
	</form>
	<br />
	<table cellpadding="1" cellspacing="1" border="0" align="left">
	<tr>
		<td><input id="btnGo2EditPage" class="inputButton "  autocomplete="off" value="修改" /></td>
		<td><input id="btnBackList" class="inputButton " autocomplete="off" value="返回" /></td>
	</tr>
	</table>
	<script>
		$(document).ready(function() {
			//点击修改跳转编辑页面
			$("#btnGo2EditPage").click(function() {
			   	window.location.href='${basePath}/schoolTraining/addInInt?id=${entity.pxId}';
			});
			
			//点击返回，回到列表页面	
			$("#btnBackList").click(function() {
			   	window.location.href = "${basePath}/schoolTraining/index";
			});
			
		 	if("${msg}"!=""){
			   	layer.alert("${msg}", {icon: 6});
		  	}
		});
		//compareListValue(document.getElementById('mz'),'${student.mz}');
	</script>
</body>
</html>